﻿<%@ Page Language="vb" 
AutoEventWireup="false" 
CodeBehind="WebForm1.aspx.vb" 
Inherits="BBI_FE_Mapping.WebForm1" %>

    <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <link type="text/css" rel="stylesheet" href="CSS/style.css" />
        
</head>
<body>
    <form id="form1" runat="server">
    
  
  
    <asp:UpdatePanel ID="UpdPnlPopupCerca" runat="server" >
                    <ContentTemplate>
                <div   style="text-align:center" >
                
                <asp:Panel ID="pnlcercahd" runat="server" CssClass="mpHd">
                <asp:Label  Width="90 %" ID="lblCapionModal"
                 runat="server"
                 />
                
                </asp:Panel>



                     </div>        

                      <div align="left"  >
                        
                        
                        <table>
                        <tr>
                        <td>
                        <asp:Label ID ="lblDimensione" Text ="Dimensione: " runat="server" />
                        
                        </td>
                        <td>
                        <asp:DropDownList ID="cmbDimensioni"  runat="server" DataSourceID="" 
                              DataTextField = "Prefix" DataValueField= "Key"    CssClass="InputText"                      
                         />
                        
                        </td>
                        <td>
                        <asp:Label ID ="lblCerca" Text ="Descr/Codice: " runat="server" />
                        
                        </td>
                        <td style="width:100%">
                        
                        <asp:TextBox ID="txtcerca" runat="server"  Width="100%"  CssClass="InputText" 
                              Height="17px"></asp:TextBox>
                        </td>
                        <td>
                        <asp:ImageButton ID="btnCerca" runat="server" ImageUrl="~/App_Themes/CercaDim.gif" />
                        
                        </td>
                        
                        </tr>
                        </table>

                      </div> 
                      <div>
                      
                      </div>
                  
                   <div><p><br /></p></div>
                <asp:Panel ID="pnlGrigliaElenco"  
                    runat="server" 
                    ScrollBars="Auto" 
                    Width="615px"
                    height="200"
                          >
                <asp:GridView 
                    ID="lv_cerca" 
                    runat="server" 
                    DataSourceID="" 
                    AutoGenerateColumns="false"
                    Width ="100%"
                    
                    DataKeyNames= "Mem_ID" 
                    CssClass="mGrid"
                    PagerStyle-CssClass="pgr"
                    AlternatingRowStyle-CssClass="alt"
                >
                    <Columns>
                    <asp:TemplateField>
                    <ItemTemplate>
                    <asp:CheckBox ID="chkFiltra" runat="server" 
                        Checked="false"    
                        OnCheckedChanged="chkFiltra_CheckedChanged" 
                        AutoPostBack="false"
                          />
                    </ItemTemplate>
                    </asp:TemplateField>
                        <asp:BoundField  DataField="Mem_ID" HeaderText="Mem_ID"  Visible="false" ControlStyle-Width="0" />
                        <asp:BoundField DataField="Descr" HeaderText="Descrizione" />
                        

                    </Columns>

                </asp:GridView>
                </asp:Panel>
                    
                   <div><p><br /></p></div>
                   <table>
                   <tr>
                   <td>
                   <div align=left >
                   
                    <asp:Label  Text="Elemento ALL non disponibile per questa dimensione" runat="server"  Visible="false" ID = "lblALLNO"></asp:Label>
                        <asp:Button ID="btnElementoAll" runat="server" Text="Seleziona elemento ALL" Width="250px"
                                CssClass="btnricerca" 
                                onMouseOver="goLite(this.form.name,this.name)"
                               onMouseOut="goDim(this.form.name,this.name)"
                                />
                    </div>
                    </td>
                    <td>
                    <div align="right" >
                        <asp:Button ID="btnSeleziona" runat="server" Text="Ok" Width="50px"
                                CssClass="btnricerca" 
                                onMouseOver="goLite(this.form.name,this.name)"
                               onMouseOut="goDim(this.form.name,this.name)"
                                />
                        <asp:Button ID="btnClose" runat="server" Text="Cancel"
                            Width="50px"
                            CssClass="btnricerca" 
                            onMouseOver="goLite(this.form.name,this.name)"
                            onMouseOut="goDim(this.form.name,this.name)"
                                />
                   </td>
                   </tr>
                   </table>
                    </div>             


            </ContentTemplate>
            </asp:UpdatePanel>
 
    </form>
</body>
</html>
